<?php
namespace app\api\common;

use Exception;
use think\exception\Handle;

class ApiException extends Handle{

    public function render(Exception $e){

        if($e instanceof ApiException){
            echo '......';
        }

        if($e instanceof InvalidArgumentException){
            echo 'InvalidArgumentException';
        }

        // return parent::render($e);
        
    }

}